<div class="body">
    <div class="getFileList">
        <h1>获取文件列表</h1>
        <div class="btns">
            <button nz-button [nzType]="'primary'" (click)="getFileList()">
                获取文件列表
            </button><br>
            <div *ngIf="showDownload" class="radio">
                <nz-radio-group [(ngModel)]="radioValue" class="marginTop">
                    <p *ngFor="let item of fileList">
                        <label nz-radio [nzValue]="item.value">{{item.label}}</label>
                    </p>
                </nz-radio-group>
            </div>
        </div>
    </div>
    <div class="ways">
        <h1>后端返回blob流进行文件下载</h1>
        <div class="btns">
            <button nz-button [nzType]="'primary'" (click)="selectDownloadFile()">
                Blob流下载文件
            </button>
        </div>
    </div>
    <div class="ways">
        <h1>前端直接请求服务器地址</h1>
        <div class="btns">
            <button nz-button [nzType]="'primary'" (click)="aLinkDownload()">
                下载文件
            </button>
        </div>
    </div>
</div>
